import Vue from 'vue'
import App from './App'

import uView from 'uview-ui'; //引入uniView
import httpInterceptor from '@/common/http.interceptor.js' //引入请求拦截器配置
// 页面路径：main.js
import mixin from './mixins/mixin.js'  //引入全局方法

import store from './store'

Vue.use(uView);  //使用 
Vue.mixin(mixin)

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
  store,
  ...App
})

Vue.use(httpInterceptor, app)  //使用请求拦截器
app.$mount()
